package com.xunwulian.base.entity;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by liyankai on 2016/9/3.
 * <p>
 */

/**
 * 2017/3/1
 * 将所有基本类型用对象包装
 * 将id从long转为int
 *
 * @author zhaojianan
 */
public class Entity implements Serializable {

    public Integer id;

    public Integer version;

    public Date created;

    public Date modified;

    public Integer getVersion() {
        return version;
    }

    public void setVersion(Integer version) {
        this.version = version;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }
}

